[INFO] cloning repository https://github.com/xrisyz/pokedex_rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xrisyz/pokedex_rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxrisyz%2Fpokedex_rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxrisyz%2Fpokedex_rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 01e6038fd922148e4ba6cb1140e7524ffa094b47
[INFO] testing xrisyz/pokedex_rs against master#b70888601af92f6cdc0364abab3446e418b91d36 for pr-86479
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxrisyz%2Fpokedex_rs" "/workspace/builds/worker-6/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/xrisyz/pokedex_rs on toolchain b70888601af92f6cdc0364abab3446e418b91d36
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/xrisyz/pokedex_rs
[INFO] finished tweaking git repo https://github.com/xrisyz/pokedex_rs
[INFO] tweaked toml for git repo https://github.com/xrisyz/pokedex_rs written to /workspace/builds/worker-6/source/Cargo.toml
[INFO] crate git repo https://github.com/xrisyz/pokedex_rs already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0ac93bde44d755c131a1da05c61d4819f87735f5869119be11936d3416051419
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "0ac93bde44d755c131a1da05c61d4819f87735f5869119be11936d3416051419", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0ac93bde44d755c131a1da05c61d4819f87735f5869119be11936d3416051419", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0ac93bde44d755c131a1da05c61d4819f87735f5869119be11936d3416051419", kill_on_drop: false }`
[INFO] [stdout] 0ac93bde44d755c131a1da05c61d4819f87735f5869119be11936d3416051419
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] de36f61898f370892e87c643f6d3f4cf42618e64b6dd6891a613cd5d26786c90
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "de36f61898f370892e87c643f6d3f4cf42618e64b6dd6891a613cd5d26786c90", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.8
[INFO] [stderr]    Compiling syn v1.0.14
[INFO] [stderr]    Compiling cc v1.0.50
[INFO] [stderr]    Compiling pkg-config v0.3.17
[INFO] [stderr]    Compiling memchr v2.3.0
[INFO] [stderr]    Compiling fnv v1.0.6
[INFO] [stderr]    Compiling autocfg v1.0.0
[INFO] [stderr]    Compiling futures-core v0.3.1
[INFO] [stderr]    Compiling openssl v0.10.26
[INFO] [stderr]    Compiling futures-sink v0.3.1
[INFO] [stderr]    Compiling native-tls v0.2.3
[INFO] [stderr]    Compiling futures-task v0.3.1
[INFO] [stderr]    Compiling try-lock v0.2.2
[INFO] [stderr]    Compiling ryu v1.0.2
[INFO] [stderr]    Compiling dtoa v0.4.4
[INFO] [stderr]    Compiling unicase v2.6.0
[INFO] [stderr]    Compiling unicode-normalization v0.1.12
[INFO] [stderr]    Compiling http v0.2.0
[INFO] [stderr]    Compiling futures-util v0.3.1
[INFO] [stderr]    Compiling futures-channel v0.3.1
[INFO] [stderr]    Compiling encoding_rs v0.8.22
[INFO] [stderr]    Compiling iovec v0.1.4
[INFO] [stderr]    Compiling net2 v0.2.33
[INFO] [stderr]    Compiling want v0.3.0
[INFO] [stderr]    Compiling mio v0.6.21
[INFO] [stderr]    Compiling indexmap v1.3.1
[INFO] [stderr]    Compiling mime_guess v2.0.1
[INFO] [stderr]    Compiling openssl-sys v0.9.53
[INFO] [stderr]    Compiling idna v0.2.0
[INFO] [stderr]    Compiling quote v1.0.2
[INFO] [stderr]    Compiling url v2.1.1
[INFO] [stderr]    Compiling http-body v0.3.1
[INFO] [stderr]    Compiling tokio-macros v0.2.4
[INFO] [stderr]    Compiling serde_derive v1.0.104
[INFO] [stderr]    Compiling pin-project-internal v0.4.7
[INFO] [stderr]    Compiling tokio v0.2.11
[INFO] [stderr]    Compiling pin-project v0.4.7
[INFO] [stderr]    Compiling tokio-util v0.2.0
[INFO] [stderr]    Compiling tokio-tls v0.3.0
[INFO] [stderr]    Compiling h2 v0.2.1
[INFO] [stderr]    Compiling serde v1.0.104
[INFO] [stderr]    Compiling hyper v0.13.1
[INFO] [stderr]    Compiling hyper-tls v0.4.1
[INFO] [stderr]    Compiling serde_urlencoded v0.6.1
[INFO] [stderr]    Compiling serde_json v1.0.45
[INFO] [stderr]    Compiling reqwest v0.10.1
[INFO] [stderr]    Compiling pokedex_core v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> src/main.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt`
[INFO] [stdout]   --> src/main.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use std::fmt;
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::future::Future`
[INFO] [stdout]   --> src/main.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use std::future::Future;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `reqwest::Error`
[INFO] [stdout]   --> src/main.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use reqwest::Error;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pokemon_count`
[INFO] [stdout]    --> src/main.rs:115:9
[INFO] [stdout]     |
[INFO] [stdout] 115 |     let pokemon_count = pokedex_response.pokemon_entries.iter().count();
[INFO] [stdout]     |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pokemon_count`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:92:20
[INFO] [stdout]    |
[INFO] [stdout] 92 |     fn get_entries(mut self) -> Vec<PokeDexEntries> {
[INFO] [stdout]    |                    ----^^^^
[INFO] [stdout]    |                    |
[INFO] [stdout]    |                    help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:96:28
[INFO] [stdout]    |
[INFO] [stdout] 96 |     fn check_entries_count(mut self) -> Result<Vec<PokeDexEntries>, PokeError> {
[INFO] [stdout]    |                            ----^^^^
[INFO] [stdout]    |                            |
[INFO] [stdout]    |                            help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: use of moved value: `self.pokemon_entries`
[INFO] [stdout]   --> src/main.rs:98:23
[INFO] [stdout]    |
[INFO] [stdout] 96 |     fn check_entries_count(mut self) -> Result<Vec<PokeDexEntries>, PokeError> {
[INFO] [stdout]    |                            -------- move occurs because `self` has type `PokeDexResponse`, which does not implement the `Copy` trait
[INFO] [stdout] 97 |         if self.get_entries().iter().count() > 0 {
[INFO] [stdout]    |                 ------------- `self` moved due to this method call
[INFO] [stdout] 98 |             return Ok(self.pokemon_entries)
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^^^^^ value used here after move
[INFO] [stdout]    |
[INFO] [stdout] note: this function takes ownership of the receiver `self`, which moves `self`
[INFO] [stdout]   --> src/main.rs:92:24
[INFO] [stdout]    |
[INFO] [stdout] 92 |     fn get_entries(mut self) -> Vec<PokeDexEntries> {
[INFO] [stdout]    |                        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0716]: temporary value dropped while borrowed
[INFO] [stdout]    --> src/main.rs:116:25
[INFO] [stdout]     |
[INFO] [stdout] 116 |       let pokemon_entry = pokedex_response
[INFO] [stdout]     |  _________________________^
[INFO] [stdout] 117 | |         .check_entries_count()
[INFO] [stdout] 118 | |         .unwrap()
[INFO] [stdout]     | |_________________^ creates a temporary which is freed while still in use
[INFO] [stdout] ...
[INFO] [stdout] 122 |           .unwrap();
[INFO] [stdout]     |                    - temporary value is freed at the end of this statement
[INFO] [stdout] ...
[INFO] [stdout] 125 |       println!("name: {} \n url: {}", pokemon_entry.pokemon_species.name, pokemon_entry.pokemon_species.url)
[INFO] [stdout]     |                                       ---------------------------------- borrow later used here
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using a `let` binding to create a longer lived value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 7 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0382, E0716.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0382`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `pokedex_core` due to 3 previous errors; 7 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "de36f61898f370892e87c643f6d3f4cf42618e64b6dd6891a613cd5d26786c90", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "de36f61898f370892e87c643f6d3f4cf42618e64b6dd6891a613cd5d26786c90", kill_on_drop: false }`
[INFO] [stdout] de36f61898f370892e87c643f6d3f4cf42618e64b6dd6891a613cd5d26786c90
